package com.zhixiang.xaec.service.safebase.relatedparty.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zhixiang.core.dao.BaseDao;
import com.zhixiang.core.service.impl.BaseServiceImpl;
import com.zhixiang.xaec.dao.safebase.relatedparty.RelatedPartyDao;
import com.zhixiang.xaec.entity.safebase.relatedparty.RelatedParty;
import com.zhixiang.xaec.service.safebase.relatedparty.RelatedPartyService;

@Service
public class RelatedPartyServiceImpl extends BaseServiceImpl<RelatedParty, Long> implements RelatedPartyService{

	@Override
	public String delete(String[] ids) {
		 for(String id:ids){
	           getDao().remove(Long.valueOf(id));
	       }
	        return null;
	}

	@Override
	@Resource(type=RelatedPartyDao.class)
	public void setBaseDao(BaseDao<RelatedParty, Long> dao) {
		
		setDao(dao);
	}

	
	
}
